getPreferredSize

Overridden to calculate the width depending on how much text is being displayed per line.

Return

the newly calculated size.